package com.sangeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sangeng.domin.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from sys_user where id = #{i}")
    User getUser(int i);

    User getUserById(int i);

    User getUserById2(int i);

    User getUserByUserName(String userName);
}
